package com.biodiv.community.enums;


import com.biodiv.community.base.EnumBase;

public enum TopicEnum implements EnumBase {

    TOPIC_ONE("topicOne", "主题一"),

    TOPIC_TWO("topicTwo", "主题二");

    private final String type;
    private final String desc;

    TopicEnum(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    @Override
    public String getType() {
        return type;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
